package com.android.dumiaogou.model.member;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2016/9/5.
 */
public class AddressListData {

    /**
     * data : [{"id":"14","name":"feng","mobile":"15080588201","area":"福建  三明  三元区","address":"三明荆东","is_default":"1"},{"id":"17","name":"xiaoxiao","mobile":"15080588201","area":"北京  东城区","address":"1234567898","is_default":"0"},{"id":"13","name":"wagn1123","mobile":"15080588201","area":"北京  东城区","address":"1234567898","is_default":"0"}]
     * flag : true
     * code : 0
     * msg : 操作成功
     * time : 1473040796
     */

    private boolean flag;
    private int code;
    private String msg;
    private int time;
    /**
     * id : 14
     * name : feng
     * mobile : 15080588201
     * area : 福建  三明  三元区
     * address : 三明荆东
     * is_default : 1
     */

    private List<AddressData> data;

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public List<AddressData> getData() {
        return data;
    }

    public void setData(List<AddressData> data) {
        this.data = data;
    }

    public static class AddressData implements Serializable {
        private String id;
        private String mid;
        private String username;
        private String name;
        private String mobile;
        private String zone;
        private String area;
        private String address;
        private String zip;
        private String is_default;

        public String getZone() {
            return zone;
        }

        public void setZone(String zone) {
            this.zone = zone;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getZip() {
            return zip;
        }

        public void setZip(String zip) {
            this.zip = zip;
        }

        public String getMid() {
            return mid;
        }

        public void setMid(String mid) {
            this.mid = mid;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getArea() {
            return area;
        }

        public void setArea(String area) {
            this.area = area;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getIs_default() {
            return is_default;
        }

        public void setIs_default(String is_default) {
            this.is_default = is_default;
        }
    }
}
